@font-face {
    font-family: Myfont;
    src: url(./OktaNeue-BlackItalic.otf);
}

*{
    margin: 0;
    padding: 0;
    font-family: myFont;
    user-select: none;
}

body {
    width: 100%;
    height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
section {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

section .section_item {
    width: 10%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

}

section .section_item .a{
    color: #fff;
    font-size: 2vw;
    top: 0;
    opacity: 1;
    transition: top 0.5s,opacity 0.5s;
    
}

/* 切割文字 */
section .section_item .a:nth-child(1){
    position: absolute;
    clip-path: polygon(0% 0%,100% 0%,100% 50%,0% 50%);
}

section .section_item .a:nth-child(2){
    position: absolute;
    clip-path: polygon(0% 50%,100% 50%,100% 100%,0% 100%);
}

/* 触发景深效果 */
section:hover .section_item{
    filter: blur(10px);
    transform: scale(0.8);
    transition: filter 0.5s,transform 0.5s;
}
/* 对应的取消景深效果 */
section .section_item:hover{
    filter: blur(0px);
    transform: scale(1.1);
    transition: filter 0.5s,transform 0.5s;
}

/* 上半部分上移并变淡 */
section .section_item:hover .a:nth-child(1){
    top: -40px;
    opacity: 0.5;
    transition: top 0.5s,opacity 0.5s;
}
/* 下半部分下移并变淡 */
section .section_item:hover .a:nth-child(2){
    top: 40px;
    opacity: 0.5;
    transition: top 0.5s,opacity 0.5s;
}

/* a标签 */
section .section_item a{
    position: absolute;
    top : 25px;
    color: #fff;
    text-decoration: none;
    opacity: 0;
    font-size: 1vw;
    transition: opacity 0.5s;
}
section .section_item a:hover{
    text-decoration: underline;
}
section .section_item:hover a{
    opacity: 1;
    transition: opacity 0.5s;
}